package net.stuffrepos.bricknetcenter.util;

import java.text.DateFormat;
import java.util.Date;

/**
 *
 * @author Eduardo H. Bogoni <eduardobogoni@gmail.com>
 */
public class LocaleHelper {

    private static final DateFormat timestampFormatter = DateFormat.getDateInstance(DateFormat.MEDIUM);

    public static String formatTimestamp(Date date) {
        return timestampFormatter.format(date);
    }

    public static DateFormat getDateOnlyInputFormat() {
        return DateFormat.getDateInstance(DateFormat.MEDIUM);
    }
}
